<%@include file="/init.jsp"%>

<jsp:useBean id="regUser"
	type="com.inkwell.internet.productregistration.model.PRUser"
	scope="request" />
<jsp:useBean id="registration"
	type="com.inkwell.internet.productregistration.model.PRRegistration"
	scope="request" />

<p>
	<b><liferay-ui:message key="first-name" /></b>
</p>
<p><%=regUser.getFirstName()%></p>

<p>
	<b><liferay-ui:message key="last-name" /></b>
</p>
<p><%=regUser.getLastName()%></p>

<p>
	<b><liferay-ui:message key="address1" /></b>
</p>
<p><%=regUser.getAddress1()%></p>

<p>
	<b><liferay-ui:message key="address2" /></b>
</p>
<p><%=regUser.getAddress2()%></p>

<p>
	<b><liferay-ui:message key="city" /></b>
</p>
<p><%=regUser.getCity()%></p>

<p>
	<b><liferay-ui:message key="state" /></b>
</p>
<p><%=regUser.getState()%></p>

<p>
	<b><liferay-ui:message key="postal-code" /></b>
</p>
<p><%=regUser.getPostalCode()%></p>

<p>
	<b><liferay-ui:message key="country" /></b>
</p>
<p><%=regUser.getCountry()%></p>

<p>
	<b><liferay-ui:message key="email-address" /></b>
</p>
<p><%=regUser.getEmail()%></p>

<p>
	<b><liferay-ui:message key="phone-number" /></b>
</p>
<p><%=regUser.getPhoneNumber()%></p>

<p>
	<b><liferay-ui:message key="date-of-birth" /></b>
</p>
<p><%=regUser.getBirthDate()%></p>

<p>
	<b><liferay-ui:message key="gender" /></b>
</p>
<p><%=regUser.getGender()%></p>

<p>
	<b><liferay-ui:message key="date-purchased" /></b>
</p>
<p><%=registration.getDatePurchased()%></p>

<p>
	<b><liferay-ui:message key="how-hear" /></b>
</p>
<p><%=registration.getHowHear()%></p>

<p>
	<b><liferay-ui:message key="where-purchased" /></b>
</p>
<p><%=registration.getWherePurchased()%></p>

<p>
	<b><liferay-ui:message key="product-serial-number" /></b>
</p>
<p><%=registration.getSerialNumber()%></p>

<p>
	<b><liferay-ui:message key="product-type" /></b>
</p>
<p>
	<%
		PRProduct product = PRProductLocalServiceUtil
				.getPRProduct(registration.getProductId());
	%>
	<%=product.getProductName()%></p>
